import {createSvgIconsPlugin}from "vite-plugin-svg-icons"
import {Plugin}from "vite";
import * as path from "path";

export default(plugins:Plugin[],isBuild:boolean)=>{
    plugins.push(
        createSvgIconsPlugin({
            iconDirs:[path.resolve(process.cwd(),'src/assets/icons/svg')],
            symbolId:'icon-[name]'
        })
    )
}